//
//  Qb_QRCodeViewController.m
//  Cd_Qb
//
//  Created by mac on 2018/3/15.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "Qb_QRCodeViewController.h"

@interface Qb_QRCodeViewController ()

@end

@implementation Qb_QRCodeViewController

-(void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBar.hidden = NO;
    self.tabBarController.tabBar.hidden = YES;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self AdaptationApp];
    self.title = @"分享二维码";
    
    [self setRightBtn];
    // Do any additional setup after loading the view.
}

- (void)setRightBtn
{
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame= CGRectZero;
    [btn setImage:[UIImage imageNamed:@"Qb_PushShare"] forState:UIControlStateNormal];
    [btn addTarget:self action:@selector(RightClick:) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem*RightBtn = [[UIBarButtonItem alloc] initWithCustomView:btn];
    self.navigationItem.rightBarButtonItem = RightBtn;
}


- (void)RightClick:(UIButton *)sender
{
    
}
@end
